@extends('admin::layouts.master')
@section('content')
    <div class="col-sm-6">
        <div class="panel panel-default panel-border-color panel-border-color-primary">
            <div class="panel-heading panel-heading-divider">修改密码<span class="panel-subtitle"></span></div>
            <div class="panel-body">
                <form action="/admin/resetpassword/{{auth ()->user()->id}}" method="post">
                    @csrf
                    <div class="form-group xs-pt-10">
                        <label>原密码</label>
                        <input type="password" name="oldpassword" placeholder="请输入原密码" class="form-control">
                    </div>
                    <div class="form-group">
                        <label>新密码</label>
                        <input type="password" name="password" placeholder="请输入新密码" class="form-control">
                    </div>
                    <div class="form-group">
                        <label>确认密码</label>
                        <input type="password" name="password_confirmation" placeholder="请再次输入新密码" class="form-control">
                    </div>
                    <div class="row xs-pt-15">
                        <div class="col-xs-12">
                            <p class="text-right">
                                <button type="submit" class="btn btn-space btn-primary">保存</button>
                            </p>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
@endsection